package com.javaee6.liimp.dao;

import com.javaee6.liimp.model.Complaininfo;
import com.javaee6.liimp.model.ComplaininfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ComplaininfoMapper {
    long countByExample(ComplaininfoExample example);

    int deleteByExample(ComplaininfoExample example);

    int deleteByPrimaryKey(Integer complainid);

    int insert(Complaininfo record);

    int insertSelective(Complaininfo record);

    List<Complaininfo> selectByExampleWithBLOBs(ComplaininfoExample example);

    List<Complaininfo> selectByExample(ComplaininfoExample example);

    Complaininfo selectByPrimaryKey(Integer complainid);

    int updateByExampleSelective(@Param("record") Complaininfo record, @Param("example") ComplaininfoExample example);

    int updateByExampleWithBLOBs(@Param("record") Complaininfo record, @Param("example") ComplaininfoExample example);

    int updateByExample(@Param("record") Complaininfo record, @Param("example") ComplaininfoExample example);

    int updateByPrimaryKeySelective(Complaininfo record);

    int updateByPrimaryKeyWithBLOBs(Complaininfo record);

    int updateByPrimaryKey(Complaininfo record);
}